// 引用网络请求中间件
import request from '@/utils/request.js';

// 获取媒资上传地址与凭证CreateUploadMedia
export function getCreateMedia(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}

// 获取媒资信息GetMediaInfo
export function getMediaInfoi(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}

// 人物注册RegisterPerson
export function registerPerson(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}

// 搜索媒资SearchMedia
export function searchMedia(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}


// 提交剪辑合成作业SubmitEditingJob
export function submitEditingJob(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}

// 获取剪辑合成作业GetEditingJob
export function getEditingJob(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}

// 删除媒资DeleteMedia
export function deleteMedia(params) {
	return request({
		url: '/skiingvideo-mock/main',
		method: 'GET',
		link: 'first',  // 写入link属性为first时使用baseURL2
		params
	})
}
